solve scale factor problems